Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Application-Defined Functions


Modal-Dialog Filter Functions

The CustomGetFilePreview routine presents an Open dialog box to the user and allows the user to view file previews. This function differs from StandardGetFilePreview in that you can provide a custom dialog template and functions to support your template. This function corresponds to the existing CustomGetFile routine.

You specify your modal-dialog filter function in the filterProc parameter. Your modal-dialog filter function gives you greater control over the interface presented to the user. See Inside Macintosh: Files for more information about using modal-dialog filter functions with CustomGetFile.

Note
A modal-dialog filter function controls events closer to their source by filtering the events received from the Event Manager. The Standard File Package itself contains an internal modal-dialog filter function that maps keypresses and other user input onto the equivalent dialog box items. If you also want to process events at this level, you can supply your own filter function.

Subtopics
MyModalFilter

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996